package com.rd.student.jike.class2.xuezhixin.day0802;

public class Cat extends Animal{
    String eyesColor;

    public Cat(String name, String eyesColor) {
        super(name);
        this.eyesColor = eyesColor;
    }

    @Override
    public void voice() {
        System.out.println("喵喵喵");
    }

    @Override
    public String enjoy() {
        return "让这只猫笑一笑";
    }

    public String getEyesColor() {
        return eyesColor;
    }
}
